import java.io.FileOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author: Cyrus
 * @CreateDate: 2020/12/14
 */
public class testDeMO {
        public static void main(String args[]) throws IOException {
            Map<Integer, String> map = new HashMap<Integer, String>();
            System.out.println(map.put(2,"zhangsan"));
            System.out.println(map.put(2, "lisi"));
            map.put(6,"赵六");
            map.put(1,"lisi");
            System.out.println(map.get(1));
}}
